//
//  ChooseRank.h
//  LvjFarm
//
//  Created by 张仁昊 on 16/4/20.
//  Copyright © 2016年 _____ZXHY_____. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIView+Extension.h"

#define normalColor RGBACOLOR(44, 44, 44, 1)
#define borderNormalColor RGBACOLOR(204, 204, 204, 1).CGColor
@class GoodsStandardModel;

@protocol ChooseRankDelegate <NSObject>
@required
- (void)selectStandardBtn:(UIButton *)selectBtn goodsStandardModel:(GoodsStandardModel *)model headerValue:(NSString *)headerValue;

@end

@interface ChooseRank : UIView

@property (nonatomic, copy) NSString *title;
@property (nonatomic, strong) NSArray *rankArray;

@property (nonatomic, strong) UIButton *selectBtn;

@property (nonatomic, strong) UIView *packView;
@property (nonatomic, strong) UIView *btnView;

@property (nonatomic, assign) id<ChooseRankDelegate>delegate;


- (instancetype)initWithTitle:(id)title titleArr:(NSArray *)titleArr andFrame:(CGRect)frame;
- (instancetype)initWithFrame:(CGRect)frame data:(id)data;

- (void)btnClick:(UIButton *)btn;

@end

@interface StandardButton : UIButton
@property (strong, nonatomic) GoodsStandardModel *standardModel;

@end


